SELECT age,email from speaker
				WHERE 1=1 
				<#if email?exists && email?length &gt; 0>
					and email=:email
				</#if>
				
Hello ${user}!
Hello ${user2}
${r"C:\foo\bar"}
<#list ["winter", "spring", "summer", "autumn"] as x>${x} </#list>
<#if !(mouse??)>
  Mouse found aa
<#else>
  No mouse found b b
</#if>
Creating mouse...
<#assign mouse = "Jerry">
<#if mouse??>
  Mouse found
<#else>
  No mouse found
</#if>  

Hello ${user!}!
Hello ${user?if_exists}
Hello ${user!'your name'}!
Hello ${user?default('your name')}
 

  <#setting number_format="currency"/>
    <#assign answer=42/>
    ${answer}
    ${answer?string}  <#-- the same as ${answer} -->
    ${answer?string.number}
    ${answer?string.currency}
    ${answer?string.percent} 
      
<#setting number_format="0.###E0"/>
    ${1234}
    ${123456?string("0.####E0")}    
    

 <#setting locale="en_US">
    US people writes: ${12345678?string(",##0.00")}
<#setting locale="hu">
    Hungarian people writes: ${12345678?string(",##0.00")}
<#setting locale="zh_CN">
    Chinese people writes: ${12345678?string(",##0.00")}
    
${openingTime?date}
${nextDiscountDay?time}
${lastUpdated?datetime}

${lastUpdated?string("yyyy-MM-dd HH:mm:ss zzzz")}
${lastUpdated?string("EEE, MMM d, ''yy")}
${lastUpdated?string("EEEE, MMMM dd, yyyy, hh:mm:ss a '('zzz')'")} 


<#macro greet>
  <font size="+2">Hello Joe!</font>
</#macro>

<@greet></@greet>
或者<@greet/>

